<?php

class Main extends CI_Controller {

	function __construct()
	{
		parent::__construct();	
		$this->load->model('mod_auth');
		if(!$this->mod_auth->stato_login()){
			redirect('/login/index');
		}
		else redirect('/bacheca/index');
		
	}
	
	function index()
	{
		$data['arr_js'][0] = array(); 
		$this->load->view('fissi/html_start', $data);
		$this->load->view('fissi/menu');
		$this->load->view('main/test');
		$this->load->view('fissi/html_end');
		//$this->load->view('welcome_message');
	}
}

/* End of file welcome.php */
/* Location: ./system/application/controllers/main.php */
